home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Gold Medal Software 3
/
Gold Medal Software - Volume 3 (Gold Medal) (1994).iso
/
music
/
5mods_4.arj
/
MT13.MOD
next >
Wrap
Text File
|
1994-01-20
|
1KB
|
32 lines
┌────────────────────────────────────────────────────────────────────────────┐
│ Mod Name: MT13.MOD Mod Authors: MainTech 1@5211 │
│ Difficulty: huh? Date: Jan 17 1994 │
│ WWIV Version: 4.23 │
│ Files Affected: BBSOVL2.C │
│ Description: This fixes the problem of the bbs counting down the users │
│ time while in chat. │
└────────────────────────────────────────────────────────────────────────────┘
I take no credit for this mod what so ever. It was taken directly from
Goose's FIXCHAT.MOD, initially released in May 1990. I just found the
correct place to add it into 4.23 code, plugged it in, and tested it.
Open bbsovl2.c with your favorite editor and find the following.
= chatting=0;
= tc=timer()-tc;
= if (tc<0)
= tc += 86400.0;
- /* extratimecall += tc; */ /* comment out or delete this line */
+ thisuser.extratime += tc; /* chat time fix - add this line */
= topdata=tempdata;
Save it and recompile your bbs.
Gee, the header was bigger than the fix! <g>
«-[/\/\ainTech]-»